import request from '@/utils/request'

export function images_index(params) {
  return request({
    url: '/images/index',
    method: 'get',
    params
  })
}

export function images_sort(data) {
  return request({
    url: '/images/sort',
    method: 'post',
    data:data
  })
}

export function images_main(data) {
  return request({
    url: '/images/main',
    method: 'post',
    data:data
  })
}

export function images_add(data) {
  return request({
    url: '/images/add',
    method: 'post',
    data:data
  })
}

export function images_delete(data) {
  return request({
    url: '/images/delete',
    method: 'post',
    data:data
  })
}

export function images_match(data) {
  return request({
    url: '/images/match',
    method: 'post',
    data:data
  })
}

export function gallery_index(params) {
  return request({
    url: '/gallery/index',
    method: 'get',
    params
  })
}


